package com.bing.bingPro.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 数据库连接信息
 * @TableName mg_dam_db_info
 */
@TableName(value ="mg_dam_db_info")
@Data
public class MgDamDbInfo implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "db_id", type = IdType.AUTO)
    private Long dbId;

    /**
     * 修改时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 创建人
     */
    @TableField(value = "creator")
    private String creator;

    /**
     * 描述
     */
    @TableField(value = "description")
    private String description;

    /**
     * jdbc驱动类
     */
    @TableField(value = "db_driver")
    private String dbDriver;

    /**
     * url地址
     */
    @TableField(value = "url_address")
    private String urlAddress;

    /**
     * 密码
     */
    @TableField(value = "pass_word")
    private String passWord;

    /**
     * 用户名
     */
    @TableField(value = "user_name")
    private String userName;

    /**
     * 用途
     */
    @TableField(value = "purpose")
    private String purpose;

    /**
     * 模式名
     */
    @TableField(value = "db_schema")
    private String dbSchema;

    /**
     * 数据源类型
     */
    @TableField(value = "db_type")
    private String dbType;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}